// 代码中会兼容本地 service mock 以及部署站点的静态数据
import { generate as generateId } from 'shortid';
import Mock from 'mockjs';
import channel from './auth/channel.json';
export default {
  // 渠道列表
  'POST /api/mgmt/RZ-011': (req, res) => {
    res.json({
      code: '000000',
      message: '操作成功',
      data: channel,
    });
  },
  // 下拉列表
  'POST /api/mgmt/RZ-021': (req, res) => {
    res.json({
      code: '000000',
      message: '操作成功',
      data: [{"constKey":"interface_id","constValue":"JC0001","constRemark":"身份证在线识别"},{"constKey":"interfce_id","constValue":"JC0002","constRemark":"活体检测(SDK)"},{"constKey":"interface_id","constValue":"JC0005","constRemark":"公安验证"},{"constKey":"interface_id","constValue":"JC0006","constRemark":"姓名&身份证比对"},{"constKey":"interface_id","constValue":"JC0007","constRemark":"人脸对比"},{"constKey":"interface_id","constValue":"JC0008","constRemark":"身份证反面识别"}]
    });
  }
};